<%= error_messages_for 'bug' %>

<!--[form:bug]-->
<table>
<tr>
    <th><label for="bug_number">Number</label></th>
    <td><%= text_field 'bug', 'number', :class => 'fmedium'  %></td>
</tr>
<tr>
    <th><label for="bug_number">Description</label></th>
    <td><%= text_area 'bug', 'description', :class => 'flarge'  %></td>
</tr>
<tr>
    <th><label for="bug_number">System</label></th>
    <td><%= select 'bug', 'system_id', System.find(:all).collect {|s| [s.name, s.id] }, {}, :class => 'fmedium'  %></td>
</tr>
<tr>
    <th><label for="bug_number">User</label></th>
    <td><%= select 'bug', 'user_id', User.find(:all).collect {|u| [u.name, u.id] }, {},  :class => 'fmedium'  %></td>
</tr>
</table>

<!--[eoform:bug]-->

